<%@page import="study.top.mydb.PaymentInfo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ page session="true"%>
<%@ include file="dbcon.jsp" %>
<!DOCTYPE html>
<html lang="ko">
<%@include file="topHead.jsp" %>

<body>
<%@include file="topcategory.jsp" %>

<div class="top-tab top-hidden-xs">
	<%@include file="tab.jsp" %>
</div>	

<%
	db.connect();

	if (!login) {
		web.openPopup("defaultPopup.jsp", "uMemLogin.jsp", "로그인 후 이용해 주세요.");
	} else {		
	
	PaymentInfo p_info = new PaymentInfo();
	int point = p_info.allPoint(mem_seq);
%>
		<div class="top-container top-margin-top-100">						
			<div class="top-table-size1">
				<label><%=memberItem.getId()%>님의 적립금 : <%=point%></label>
				<br /><br /><br /><br />	
				<div class="top-line-bottom">
					<div class="top-td">
						<a href="uMemEdit.jsp"><input type="button" class="top-btn-custom top-btn-size5" value="회원정보"></a>
					</div>
					<div class="top-td top-hidden-xs">
						<p>개인정보를 최신 정보로 유지하시면 보다 간편한 쇼핑을 즐기실 수 있습니다.</p>
					</div>
				</div>
				<br />
				<div class="top-line-bottom">
					<div class="top-td">
						<a href="uWishList.jsp"><input type="button" class="top-btn-custom top-btn-size5" value="위시리스트"></a>
					</div>
					<div class="top-td top-hidden-xs">
						<p>고객님께서 관심상품으로 등록하신 상품의 목록을 보여드립니다.</p>
					</div>
				</div>
				<br />
				<div class="top-line-bottom">
					<div class="top-td">
						<a href="uMemPayList.jsp"><input type="button" class="top-btn-custom top-btn-size5" value="주문내역"></a>
					</div>
					<div class="top-td top-hidden-xs">
						<p>고객님께서 주문하신 상품의 목록을 보여드립니다.</p>
					</div>
				</div>
				<br />
				<div class="top-line-bottom">
					<div class="top-td">
						<a href="uBrdMyReviewlistMe.jsp"><input type="button" class="top-btn-custom top-btn-size5" value="리뷰"></a>
					</div>
					<div class="top-td top-hidden-xs">
						<p>고객님께서 작성하신 상품 리뷰의 목록을 보여드립니다.</p>
					</div>
				</div>
				<br />
				<div class="">
					<div class="top-td">
						<a href="uBrdQAlistMe.jsp"><input type="button" class="top-btn-custom top-btn-size5" value="Q&A"></a>
					</div>
					<div class="top-td top-hidden-xs">
						<p>고객님께서 작성하신 Q&A의 목록을 보여드립니다.</p>
					</div>
				</div>				
			</div>	
			<div class="top-margin-bottom-100"></div>		
		</div>	
	<div class="top-hidden-xs">
		<%@include file="topBottom.jsp" %>
	</div>
		
	</body>
</html>
<%}%>